import request from '@/utils/request';
//获取数据概览
export function dataOverview(data) {
  return request({
    // admin/user/adminUser/adminUserList
    url: '/admin/statistics/dataOverview',
    method: 'get',
    params: data,
  });
}
//获取房间预约数据排行榜
export function appointmentRank(data) {
  return request({
    // admin/user/adminUser/adminUserList
    url: '/admin/statistics/appointmentRank',
    method: 'get',
    params: data,
  });
}
//获取房间预约日排行榜
export function dataAppointment(data) {
  return request({
    // admin/user/adminUser/adminUserList
    url: '/admin/statistics/dataAppointment',
    method: 'get',
    params: data,
  });
}
//获取最新房间申请列表
export function appointment(data) {
  return request({
    // admin/user/adminUser/adminUserList
    url: '/admin/appointment/room/list',
    method: 'get',
    params: data,
  });
}
//获取最新房间申请列表
export function appointmentdevice(data) {
  return request({
    // admin/user/adminUser/adminUserList
    url: '/admin/appointment/device/list',
    method: 'get',
    params: data,
  });
}








